package com.mentalhealthplatform.teacherV2.repository;

import com.mentalhealthplatform.appModels.Tweet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TweetRepositoryV2 extends JpaRepository<Tweet, Long> {
    // 根据状态查找 Tweet 列表
    List<Tweet> findByStatus(String status);
}